<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>酷炫的开关</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <label>
        <input type="checkbox" name="">
        <span class="check"></span>
        <span class="btn"></span>
    </label>
    <label>
        <input type="checkbox" name="" checked>
        <span class="check"></span>
        <span class="btn"></span>
    </label>
</body>
</html>